<template>
  <layoutBase :menu="layoutMenu">
    <template #content>
      <div>Hello World</div>
    </template>
    <template #default>
      <div>content</div>
    </template>
  </layoutBase>
</template>

<script setup>
import layoutBase from '@/components/useSlot/layoutBase.vue'
const layoutMenu = [
  {
    title: '首页',
    path: '/home'
  },
  {
    title: '插槽应用',
    path: ''
  }
]
</script>

<style lang="scss" scoped></style>
